package com.xxxx.spring.day07;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
public class A07Application {

    public static void main(String[] args) {
        // ConfigurableApplicationContext context = SpringApplication.run(A07Application.class, args);
        // MyService service = context.getBean(MyService.class);
        // log.info(" service class : {}",service.getClass());
        // service.foo();
        // context.close();
        new MyService().foo();
    }
}
